package org.jeecg.modules.common.baseentity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.common.utils.DateUtil;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class BaseApiEntity implements Serializable {


    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String createBy;
    @TableField(exist = false)
    private String createUser;
    @TableField(exist = false)
    private Date createTime = DateUtil.getCurrentDate();
    @TableField(exist = false)
    private String updateBy;
    @TableField(exist = false)
    private Date updateTime = DateUtil.getCurrentDate();
    @TableField(exist = false)
    private String editUser;
    @TableField(exist = false)
    private Date editTime = DateUtil.getCurrentDate();

    private Integer delFlag=0;


    @TableField(exist = false)
    private String tenantId;
    @TableField(exist = false)
    private LoginUser loginUser;
    @TableField(exist = false)
    private String sysOrgCode;
    @TableField(exist = false)
    private List<String> subDepIdsList;
    @TableField(exist = false)
    private String  subDepSysOrgCodes;
    @TableField(exist = false)
    private Integer userIdentity;
    // 学年
    @TableField(exist = false)
    private String schoolYearId;
    // 学期
    @TableField(exist = false)
    private String semesterId;


}
